import { Provider } from 'react-redux'
import { persistor, store } from './store'
import { PersistGate } from 'redux-persist/lib/integration/react'
import { BrowserRouter } from 'react-router-dom'
import { HelmetProvider } from 'react-helmet-async'
import Boot from '@/Boot.tsx'

function App() {
  return (
    <HelmetProvider>
      <BrowserRouter>
        <Provider store={store}>
          <PersistGate persistor={persistor}>
            <Boot />
          </PersistGate>
        </Provider>
      </BrowserRouter>
    </HelmetProvider>
  )
}

export default App
